package com.learn.spring.java_config;

import com.learn.spring.bean.Dog;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * @author wangxing
 * @version 2020/6/12 12:18 Administrator
 */
@Configuration
@ComponentScan(basePackages = {"com.learn.spring.bean"}
        , excludeFilters = {
        @ComponentScan.Filter(type = FilterType.ANNOTATION, value = {Controller.class})
        , @ComponentScan.Filter(type = FilterType.ASSIGNABLE_TYPE, value = {Dog.class})}

)
public class MainComponentScanExcludeConfig {
}
